#ifndef _CTRL_MSG_H
#define _CTRL_MSG_H

#include <QWidget>
#include "ui_CtrlMsg.h"

class CtrlMsg : public QWidget
{
	Q_OBJECT

public:
	CtrlMsg(QWidget *parent = nullptr);
	~CtrlMsg();

private:
	Ui::CtrlMsg ui;

private:
  void init();
  void init_log();

private slots:
  void logging(QString strMsg, int level);
	void on_pbClear_clicked();
};

#endif
